@CHARSET "utf8";

@import
	url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,300|Trade+Winds);

body {
	margin: 0;
	padding: 0;
	background-color: #000;
	font-family: 'Open Sans', sans-serif;
	font-size: 18px;
	color: #222;
	line-height: 1.4;
	overflow: auto;
	overflow-x: hidden;
}

#info {
	position: fixed;
	left: 45px;
	top: 75px;
	font-size: 14px;
}

#clientLink {
	position: fixed;
	bottom: 138px;
	width: 100%;
}

a:link, a:visited, a:hover, a:active {
	color: #333;
	text-decoration: none;
	font-weight: bold;
}

#playerBack {
	text-align: center;
	width: 100%;
	background-color: #000;
	position: fixed;
	top: 100px;
	bottom: 190px;
	border-top: 2px solid #1979ca;
	border-bottom: 2px solid #1979ca;
}

#player {
	height: 100%;
	width: 100%;
}

h1 {
	font-family: 'Trade Winds';
	font-size: 70px;
	padding: 0;
	margin: 5px;
	margin-top: 0px;
	margin-left: 40px;
}

h2 {
	font-size: 18px;
	font-weight: normal;
	margin: 20px;
	margin-left: 40px;
	padding: 0;
}

#qrCode {
	position: fixed;
	top: 15px;
	right: 40px;
}

#searchString {
	position: fixed;
	top: 100px;
	width: 100%;
	margin: 0;
	padding: 20px;
	padding-left: 40px;
	font-family: 'Open Sans', sans-serif;
	font-size: 18px;
	border: 0 solid black;
}

#dragAndDropArea {
	position: fixed;
	width: 100%;
	bottom: 67px;
	top: 169px;
	overflow-y: auto;
	background-color: #000;
}

#searchResult {
	text-align: left;
	background: #111;
	float: left;
	width: 50%;
}

#playlist {
	text-align: left;
	background: #111;
	float: left;
	width: 50%;
}

#clientWrapper {
	background-color: #888;
}

#playlistSave {
	position: fixed;
	background: #000;
	width: 100%;
	margin: 0;
	bottom: 0;
	cursor: pointer;
	border-top: 2px solid #555;
	text-align: center;
}

#playlistServer {
	width: 100%;
	height: 130px;
	overflow: auto;
	overflow-y: hidden;
	white-space: nowrap;
	position: fixed;
	bottom: 0;
}

#playlistServer img {
	border-right: 5px solid #222;
	border-left: 5px solid #222;
	width: 160px;
	height: 90px;
}

#playlistServerTop {
	background-color: #222;
	background-image: url("/Gfx/film.png");
	width: 100%;
	height: 20px;
	position: fixed;
	bottom: 130px
}

#playlistServerBottom {
	background-color: #222;
	background-image: url("/Gfx/film.png");
	width: 100%;
	height: 20px;
	position: fixed;
	bottom: 20px
}

#sortable1 li, #sortable2 li {
	margin: 0;
	padding: 0;
	width: 320px;
	height: 180px;
}

#sortable1, #sortable2 {
	list-style-type: none;
	margin: auto;
	padding: 20px;
	padding-top: 0;
	min-height: 180px;
}

.ui-state-highlight {
	width: 320px;
	height: 180px;
	line-height: 180px;
}

.ui-resizable, .ui-sortable, .ui-draggable, .ui-droppable {
	-ms-touch-action: none;
	touch-action: none;
	width: 320px;
}

.blink {
	-webkit-animation-name: blinker;
	-webkit-animation-duration: 2s;
	-webkit-animation-timing-function: linear;
	-webkit-animation-iteration-count: infinite;
	-moz-animation-name: blinker;
	-moz-animation-duration: 2s;
	-moz-animation-timing-function: linear;
	-moz-animation-iteration-count: infinite;
	animation-name: blinker;
	animation-duration: 4s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

#dragAndDropImage {
	width: 320px;
	height: 180px;
}

@-moz-keyframes blinker {  
    0% { opacity: 0; }
    25% { opacity: 0; }
    50% { opacity: 0.5; }
    75% { opacity: 0.5; }
    100% { opacity: 0; }
}

@-webkit-keyframes blinker {  
    0% { opacity: 0; }
    25% { opacity: 0; }
    50% { opacity: 0.5; }
    75% { opacity: 0.5; }
    100% { opacity: 0; }
}

@keyframes blinker {  
    0% { opacity: 0; }
    25% { opacity: 0; }
    50% { opacity: 0.5; }
    75% { opacity: 0.5; }
    100% { opacity: 0; }
}

.colorCycle {
    -webkit-animation-name: cycler;
    -webkit-animation-duration: 2s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    
    -moz-animation-name: cycler;
    -moz-animation-duration: 5s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;
    
    animation-name: cycler;
    animation-duration: 5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@-moz-keyframes cycler {  
    0% {
		border-top:		2px solid red; 
		border-bottom:	2px solid red;
	}
    16% { 
		border-top:		2px solid yellow; 
		border-bottom:	2px solid yellow;
	}
    33% { 
		border-top:		2px solid green; 
		border-bottom:	2px solid green;
	}
    50% { 
		border-top:		2px solid cyan; 
		border-bottom:	2px solid cyan;
	}
    66% { 
		border-top:		2px solid blue; 
		border-bottom:	2px solid blue;
	}
    83% { 
		border-top:		2px solid magenta; 
		border-bottom:	2px solid magenta;
	}
    100% { 
		border-top:		2px solid red; 
		border-bottom:	2px solid red;
	}
}

@-webkit-keyframes cycler {  
    0% {
		border-top:		2px solid red; 
		border-bottom:	2px solid red;
	}
    16% { 
		border-top:		2px solid yellow; 
		border-bottom:	2px solid yellow;
	}
    33% { 
		border-top:		2px solid green; 
		border-bottom:	2px solid green;
	}
    50% { 
		border-top:		2px solid cyan; 
		border-bottom:	2px solid cyan;
	}
    66% { 
		border-top:		2px solid blue; 
		border-bottom:	2px solid blue;
	}
    83% { 
		border-top:		2px solid magenta; 
		border-bottom:	2px solid magenta;
	}
    100% { 
		border-top:		2px solid red; 
		border-bottom:	2px solid red;
	}
}

@keyframes cycler {  
    0% {
		border-top:		2px solid red; 
		border-bottom:	2px solid red;
	}
    16% { 
		border-top:		2px solid yellow; 
		border-bottom:	2px solid yellow;
	}
    33% { 
		border-top:		2px solid green; 
		border-bottom:	2px solid green;
	}
    50% { 
		border-top:		2px solid cyan; 
		border-bottom:	2px solid cyan;
	}
    66% { 
		border-top:		2px solid blue; 
		border-bottom:	2px solid blue;
	}
    83% { 
		border-top:		2px solid magenta; 
		border-bottom:	2px solid magenta;
	}
    100% { 
		border-top:		2px solid red; 
		border-bottom:	2px solid red;
	}
}

/* Little larger screen */
@media only screen and (max-width: 640px) {
	h1 {
		font-size: 34px;
		margin-left: 10px;
	}

	h2 {
		font-size: 10px;
		padding-left: 10px;
		margin-left: 0px;
		width:100%;
	}
	
	#qrCode {
		position: fixed;
		top: 0px;
		right: 0px;
	}

	#clientLink {
		position: fixed;
		bottom: 134px;
		width: 100%;
	}

	#info {
		position: fixed;
		left: 10px;
		top: 45px;
		font-size: 14px;
	}
	
	#playerBack {
		text-align: center;
		width: 100%;
		background-color: #000;
		position: fixed;
		top: 70px;
		bottom: 170px;
		border-top: 2px solid #1979ca;
		border-bottom: 2px solid #1979ca;
	}	
	
	#sortable1 li, #sortable2 li {
		margin: 0;
		padding: 0;
		width: 80px;
		height: 45px;
	}
	
	#sortable1, #sortable2 {
		list-style-type: none;
		margin: auto;
		padding: 10px;
		padding-top: 0;
		min-height: 45px;
	}
	
	.ui-state-highlight {
		width: 80px;
		height: 45px;
		line-height: 45px;
	}
	
	.ui-resizable, .ui-sortable, .ui-draggable, .ui-droppable {
		-ms-touch-action: none;
		touch-action: none;
		width: 80px;
	}
	
	.dragAndDropImage {
		width: 80px;
		height: 45px;
	}
}
